
public class candy 
{
	public static double price1 = .75;
	public static double profit1 = .35;
	public static double price2 = .50;
	public static double profit2 = .25;
	public static double price3 = .25;
	public static double profit3 = .10;
	public static double price4 = .10;
	public static double profit4 = .04;
	
	int numCandy1, numCandy2, numCandy3, numCandy4;
	
	public candy()
	{
		numCandy1 = 0;
		numCandy2 = 0;
		numCandy3 = 0;
		numCandy4 = 0;
	}
	
	public void changeStock(int a, int b, int c, int d)
	{
		numCandy1 += a;
		numCandy2 += b;
		numCandy3 += c;
		numCandy4 += d;
	}

}
